package java8_17;

/**
 * @author oldliu
 * @since 1.0
 */
public class ObjTest {
    public static void main(String[] args) {
        School s=new School();
        s.name="合肥大学";
        s.labs=199;
        s.classrooms=3000;
        s.students=59999;
        s.teachers=20;
        s.show();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>");
        //对象之间的赋值。。。
        School s2=s;//！！！！！！！！！！！s2和s 是同一个
        s2.show();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>");
        s.name="合肥科技大学";
        System.out.println("改名之后：");
        s2.show();
    }
}
